﻿		<div id="splistbox" class="splistbox1" style="clear:both; ">
			<?PHP if ($TotalResults==0){echo ("<div style=\"width:738px; height:400px; border:1px solid #ddd; line-height:150px; text-align:center; font-size:14px; color:#d00\">没有找到相关商品，请再次搜索下试试！<script type='text/javascript'>
alimama_pid='mm_".MYUSERPID."_0_0';
alimama_type='g';
alimama_tks={};
alimama_tks.style_i=1;
alimama_tks.lg_i=1;
alimama_tks.w_i=572;
alimama_tks.h_i=69;
alimama_tks.btn_i=1;
alimama_tks.txt_s='';
alimama_tks.hot_i=1;
alimama_tks.hc_c='#0065FF';
alimama_tks.c_i=1;
alimama_tks.cid_i=0;
</script>
<script type='text/javascript' src='http://a.alimama.cn/inf.js'></script></div>");}?>
			<ul>
				<?php for($i = 0; $i < count($TaobaokeItem); $i++) {
					$sptitle=str_replace("'","",$TaobaokeItem[$i]["title"]);
					//简易模式还是详细模式选择不同的链接地址
					if(WEBTYPE=='0'){
						$gourl="href=\"view.php?iid=".$TaobaokeItem[$i]["num_iid"]."\" target=\"_blank\" index=".$i." layer=\"goods\" ";
					}else{
						$gourl="href=\"view".$url_head_iid.$TaobaokeItem[$i]["num_iid"].$url_end."\" target=\"_blank\"";
					}
				?>
				<li>
					<div class="pic"><a <?=$gourl?> pic="<?=$TaobaokeItem[$i]["pic_url"]?>_160x160.jpg"><SCRIPT language=javascript>setPic('<?php echo base64_encode($TaobaokeItem[$i]["pic_url"]."_160x160.jpg")?>',160,160,'<?php echo str_replace('</span>','',str_replace('<span class=H>','',$TaobaokeItem[$i]["title"]))?>');</SCRIPT></a></div>
					<div class="title"><h2><a <?=$gourl?>><?php echo $TaobaokeItem[$i]["title"] ?></a><?php if($Result_users[$i]["consumer_protection"]=="true"){echo "<img src=\"template/".MOBAN."/images/xiaobao0.gif\" alt=\"已加入消费者保障服务\">";}?></h2></div>
					<div class="jiage">淘宝价：<b><?php echo $TaobaokeItem[$i]["price"] ?></b> 元</div>
					<div class="jiage">可返现：<b><?php echo ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel']) ?></b> 元</div>
					<div class="maijia">卖家信用：<?php if($Result_users[$i]["type"]=="B"){echo " <img src=\"template/".MOBAN."/images/shangcheng.png\" alt=\"商城卖家\">";}else {echo " <img src=\"images/level_".$Result_users[$i]["seller_credit"]["level"].".gif\" align=\"absmiddle\" />";} ?></div>
					<div class="maijia">卖家昵称：<A  href="shop<?=$url_head_nick?><?=urlencode($Result_users[$i]["nick"])?><?=$url_end?>" target=_blank title="逛逛<?php echo $Result_users[$i]["nick"];?>的店铺"><?php echo $Result_users[$i]["nick"];?></a></div>
					<div class="fanmi" style=" display:none">
							<div class="jiage">可返现： <b><?php echo ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel']) ?></b> 元</div> 
						</div>
				</li>
				<?php }?>
			</ul>
		</div>	